package com.panghu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 回复表
 * </p>
 *
 * @author huahua
 * @since 2022-03-19
 */
public class Replay implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 留言编号
     */
    @TableField("messageId")
    private Integer messageId;

    /**
     * 回复编号
     */
    @TableId(value = "replayId", type = IdType.AUTO)
    private Integer replayId;

    /**
     * 内容
     */
    private String replay;

    /**
     * 回复时间
     */
    @TableField("replayTime")
    private LocalDate replayTime;


    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public Integer getReplayId() {
        return replayId;
    }

    public void setReplayId(Integer replayId) {
        this.replayId = replayId;
    }

    public String getReplay() {
        return replay;
    }

    public void setReplay(String replay) {
        this.replay = replay;
    }

    public LocalDate getReplayTime() {
        return replayTime;
    }

    public void setReplayTime(LocalDate replayTime) {
        this.replayTime = replayTime;
    }

    @Override
    public String toString() {
        return "Replay{" +
        "messageId=" + messageId +
        ", replayId=" + replayId +
        ", replay=" + replay +
        ", replayTime=" + replayTime +
        "}";
    }
}
